import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/component/text_input.d.ts',
  content: "/*\n * Copyright (c) 2021-2024 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ArkUI\n */\n/**\n * Declare the type of input box\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Declare the type of input box\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Declare the type of input box\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare enum InputType {\n    /**\n     * Basic input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Basic input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Basic input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Normal,\n    /**\n     * Pure digital input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Pure digital input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Pure digital input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Number,\n    /**\n     * Phone number entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Phone number entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Phone number entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    PhoneNumber,\n    /**\n     * E-mail address input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * E-mail address input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * E-mail address input mode.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This mode accepts only digits, letters, underscores (_), dots (.),\n     * and the following special characters: ! # $ % & ' \" * + - / = ? ^ ` { | } ~ @ (which can only appear once)\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Email,\n    /**\n     * Password entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Password entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Password entry mode.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>An eye icon is used to show or hide the password.\n     * <br>By default, the entered characters are temporarily shown before being obscured by dots;\n     * they are directly obscured by dots since API version 12 on certain devices.\n     * <br>The password input mode does not support underlines.\n     * <br>If Password Vault is enabled, autofill is available for the username and password.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Password,\n    /**\n     * Number Password entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Number Password entry mode.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>An eye icon is used to show or hide the password.\n     * <br>By default, the entered characters are temporarily shown before being obscured by dots;\n     * they are directly obscured by dots since API version 12 on certain devices.\n     * <br>The password input mode does not support underlines.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    NUMBER_PASSWORD = 8,\n    /**\n     * UserName entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * UserName entry mode.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If Password Vault is enabled, autofill is available for the username and password.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    USER_NAME = 10,\n    /**\n     * NewPassword entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * NewPassword entry mode.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>An eye icon is used to show or hide the password.\n     * <br>By default, the entered characters are temporarily shown before being obscured by dots;\n     * they are directly obscured by dots since API version 12 on certain devices.\n     * <br>If Password Vault is enabled, a new password can be automatically generated.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    NEW_PASSWORD = 11,\n    /**\n     * Number decimal entry mode.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The value can contain digits and one decimal point.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    NUMBER_DECIMAL = 12,\n    /**\n     * URL entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    URL = 13,\n    /**\n     * One time code mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 20\n     */\n    ONE_TIME_CODE = 14\n}\n/**\n * Declare the type of input content\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\ndeclare enum ContentType {\n    /**\n     * User name content type.\n     * Password Vault, when enabled, can automatically save and fill in usernames.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    USER_NAME = 0,\n    /**\n     * Password content type.\n     * Password Vault, when enabled, can automatically save and fill in passwords.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    PASSWORD = 1,\n    /**\n     * New password content type.\n     * Password Vault, when enabled, can automatically generate a new password.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    NEW_PASSWORD = 2,\n    /**\n     * Full street address content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in full street addresses.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    FULL_STREET_ADDRESS = 3,\n    /**\n     * House number content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in house numbers.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    HOUSE_NUMBER = 4,\n    /**\n     * District address content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in districts and counties.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    DISTRICT_ADDRESS = 5,\n    /**\n     * City address content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in cities.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    CITY_ADDRESS = 6,\n    /**\n     * Province address content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in provinces.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    PROVINCE_ADDRESS = 7,\n    /**\n     * Country address content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in countries.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    COUNTRY_ADDRESS = 8,\n    /**\n     * Person full name content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in full names.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    PERSON_FULL_NAME = 9,\n    /**\n     * Person last name content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in last names.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    PERSON_LAST_NAME = 10,\n    /**\n     * Person first name content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in first names.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    PERSON_FIRST_NAME = 11,\n    /**\n     * Phone number content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in phone numbers.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    PHONE_NUMBER = 12,\n    /**\n     * Phone country code content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in country codes.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    PHONE_COUNTRY_CODE = 13,\n    /**\n     * Full phone number content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in phone numbers with country codes.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    FULL_PHONE_NUMBER = 14,\n    /**\n     * Email address content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in email addresses.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    EMAIL_ADDRESS = 15,\n    /**\n     * Bank card number content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in bank card numbers.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    BANK_CARD_NUMBER = 16,\n    /**\n     * ID card number content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in ID card numbers.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    ID_CARD_NUMBER = 17,\n    /**\n     * Nickname content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in nicknames.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    NICKNAME = 23,\n    /**\n     * Detail info without street content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in address information without street addresses.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    DETAIL_INFO_WITHOUT_STREET = 24,\n    /**\n     * Format address content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in standard addresses.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    FORMAT_ADDRESS = 25,\n    /**\n     * Passport number content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in passport numbers.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    PASSPORT_NUMBER = 26,\n    /**\n     * Passport validity content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in passport validity periods.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    VALIDITY = 27,\n    /**\n     * Place of issue content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in the place of issue for passports.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    ISSUE_AT = 28,\n    /**\n     * Invoice organization content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in invoice titles.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    ORGANIZATION = 29,\n    /**\n     * Invoice tax id content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in tax IDs.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    TAX_ID = 30,\n    /**\n     * Address city and state content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in locations.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    ADDRESS_CITY_AND_STATE = 31,\n    /**\n     * Airline flight number content type.\n     * Currently not supported for automatic saving and auto-filling.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    FLIGHT_NUMBER = 32,\n    /**\n     * License number for drivers content type.\n     * Currently not supported for automatic saving and auto-filling.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    LICENSE_NUMBER = 33,\n    /**\n     * License file number for drivers content type.\n     * Currently not supported for automatic saving and auto-filling.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    LICENSE_FILE_NUMBER = 34,\n    /**\n     * License plate for vehicles content type.\n     * The scenario-based autofill feature, when enabled,\n     * can automatically save and fill in license plate numbers.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    LICENSE_PLATE = 35,\n    /**\n     * Engine number for vehicles content type.\n     * Currently not supported for automatic saving and auto-filling.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    ENGINE_NUMBER = 36,\n    /**\n     * License chassis number for vehicles content type.\n     * Currently not supported for automatic saving and auto-filling.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    LICENSE_CHASSIS_NUMBER = 37\n}\n/**\n * Declare the type of soft keyboard.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Declare the type of soft keyboard.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Declare the type of soft keyboard.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare enum EnterKeyType {\n    /**\n     * Go.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Go.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Go.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Go = 2,\n    /**\n     * Search.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Search.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Search.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Search = 3,\n    /**\n     * Send.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Send.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Send.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Send = 4,\n    /**\n     * Next.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Next.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Next.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Next = 5,\n    /**\n     * Done.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Done.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Done.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Done = 6,\n    /**\n     * Showed as 'previous' pattern.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Showed as 'previous' pattern.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    PREVIOUS = 7,\n    /**\n     * Showed as 'new line' pattern.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Showed as 'new line' pattern.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    NEW_LINE = 8\n}\n/**\n  * Defines the underline color width property.\n  *\n  * @interface UnderlineColor\n  * @syscap SystemCapability.ArkUI.ArkUI.Full\n  * @crossplatform\n  * @atomicservice\n  * @since 12\n  */\ndeclare interface UnderlineColor {\n    /**\n      * Typing underline color width property.\n      *\n      * <p><strong>NOTE</strong>:\n      * <br>If no value is specified or if the value specified is undefined,\n      * null, or invalid, the default value is used.\n      * </p>\n      *\n      * @type { ?(ResourceColor | undefined) }\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @crossplatform\n      * @atomicservice\n      * @since 12\n      */\n    typing?: ResourceColor | undefined;\n    /**\n      * Normal underline color width property.\n      *\n      * <p><strong>NOTE</strong>:\n      * <br>If no value is specified or if the value specified is undefined,\n      * null, or invalid, the default value is used.\n      * </p>\n      *\n      * @type { ?(ResourceColor | undefined) }\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @crossplatform\n      * @atomicservice\n      * @since 12\n      */\n    normal?: ResourceColor | undefined;\n    /**\n      * Error underline color width property.\n      *\n      * <p><strong>NOTE</strong>:\n      * <br>If no value is specified or if the value specified is undefined,\n      * null, or invalid, the default value is used.\n      * <br>This option changes the color used in the showCounter attribute\n      * when the maximum number of characters is reached.\n      * </p>\n      *\n      * @type { ?(ResourceColor | undefined) }\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @crossplatform\n      * @atomicservice\n      * @since 12\n      */\n    error?: ResourceColor | undefined;\n    /**\n      * Disable underline color width property.\n      *\n      * <p><strong>NOTE</strong>:\n      * <br>If no value is specified or if the value specified is undefined,\n      * null, or invalid, the default value is used.\n      * </p>\n      *\n      * @type { ?(ResourceColor | undefined) }\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @crossplatform\n      * @atomicservice\n      * @since 12\n      */\n    disable?: ResourceColor | undefined;\n}\n/**\n * Provides the method of keeping TextInput editable state when submitted.\n *\n * @interface SubmitEvent\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface SubmitEvent {\n    /**\n     * Keeps TextInput editable state when submitted\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    keepEditableState(): void;\n    /**\n     * Sets the current value of TextInput.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    text: string;\n}\n/**\n * Provides the method of switching the cursor position.\n *\n * @extends TextContentControllerBase\n * @since 8\n */\n/**\n * Provides the method of switching the cursor position.\n *\n * @extends TextContentControllerBase\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Provides the method of switching the cursor position.\n *\n * @extends TextContentControllerBase\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class TextInputController extends TextContentControllerBase {\n    /**\n     * constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * constructor.\n     * A constructor used to create a TextInputController object.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    constructor();\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @param { number } value\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @param { number } value\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value is less than 0, the value 0 is used.\n     * <br>If the value exceeds the text length, the caret is placed at the end of the text.\n     * </p>\n     *\n     * @param { number } value\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    caretPosition(value: number): void;\n    /**\n     * Text selection is achieved by specifying the start and end positions of the text.\n     *\n     * @param { number } selectionStart - The start position of the selected text.\n     * @param { number } selectionEnd - The end position of the selected text.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Text selection is achieved by specifying the start and end positions of the text.\n     *\n     * @param { number } selectionStart - The start position of the selected text.\n     * @param { number } selectionEnd - The end position of the selected text.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Text selection is achieved by specifying the start and end positions of the text.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If selectionStart or selectionEnd is set to undefined, the value 0 will be used.\n     * <br>If selectionMenuHidden is set to true or a 2-in-1 device is used,\n     * calling setTextSelection does not display the context menu even when options is set to MenuPolicy.SHOW.\n     * <br>If the selected text contains an emoji,\n     * the emoji is selected when its start position is within the text selection range.\n     * </p>\n     *\n     * @param { number } selectionStart - The start position of the selected text.The start position of text in the text box is 0.\n     * @param { number } selectionEnd - The end position of the selected text.\n     * @param { SelectionOptions } [options] - Indicates the options of the text selection.Default value is MenuPolicy.DEFAULT.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    setTextSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void;\n    /**\n     * Exit edit state.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Exit edit state.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    stopEditing(): void;\n}\n/**\n * Defines the options of TextInput.\n *\n * @interface TextInputOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines the options of TextInput.\n *\n * @interface TextInputOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the options of TextInput.\n *\n * @interface TextInputOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface TextInputOptions {\n    /**\n     * The place holder text string.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * The place holder text string.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The place holder text string.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    placeholder?: ResourceStr;\n    /**\n     * Sets the current value of TextInput.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Sets the current value of TextInput.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the current value of TextInput.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>You are advised to bind the state variable to the text in real time through the onChange event,\n     * so as to prevent display errors when the component is updated.\n     * <br>Since API version 10, this parameter supports two-way binding through $$.\n     * <br>Since API version 18, this parameter supports two-way binding through !!.\n     * </p>\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    text?: ResourceStr;\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @type { ?TextInputController }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @type { ?TextInputController }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @type { ?TextInputController }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    controller?: TextInputController;\n}\n/**\n * Text input style.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 9\n */\n/**\n * Text input style.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Text input style.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare enum TextInputStyle {\n    /**\n     * Text input default style.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Text input default style.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Text input default style.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The caret width is fixed at 1.5 vp,\n     * and the caret height is subject to the background height and font size of the selected text.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Default,\n    /**\n     * Text input inline style.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Text input inline style.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Text input inline style.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The background height of the selected text is the same as the height of the text box.\n     * <br>This style is used in scenarios where editing and non-editing states are obvious,\n     * for example, renaming in the file list view.\n     * <br>The showError attribute is not supported for this style.\n     * <br>This style does not allow for text dragging and dropping.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Inline\n}\n/**\n * Provides a single-line text input component interface.\n *\n * @interface TextInputInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Provides a single-line text input component interface.\n *\n * @interface TextInputInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Provides a single-line text input component interface.\n *\n * @interface TextInputInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ninterface TextInputInterface {\n    /**\n     * Called when writing a single line of text.\n     *\n     * @param { TextInputOptions } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when writing a single line of text.\n     *\n     * @param { TextInputOptions } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when writing a single line of text.\n     *\n     * @param { TextInputOptions } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    (value?: TextInputOptions): TextInputAttribute;\n}\n/**\n * PasswordIcon object.\n *\n * @interface PasswordIcon\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 10\n */\n/**\n * PasswordIcon object.\n *\n * @interface PasswordIcon\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ninterface PasswordIcon {\n    /**\n     * Define the on icon source of PasswordIcon.\n     *\n     * @type { ?(string | Resource) }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define the on icon source of PasswordIcon.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Icon that can be used to hide the password in password input mode.\n     * <br>The string type can be used to load network images and local images.\n     * </p>\n     *\n     * @type { ?(string | Resource) }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onIconSrc?: string | Resource;\n    /**\n     * Define the off icon source of PasswordIcon.\n     *\n     * @type { ?(string | Resource) }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define the off icon source of PasswordIcon.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Icon that can be used to show the password in password input mode.\n     * <br>The string type can be used to load network images and local images.\n     * </p>\n     *\n     * @type { ?(string | Resource) }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    offIconSrc?: string | Resource;\n}\n/**\n * Defines a TextInput callback when onSubmit.\n *\n * Anonymous Object Rectification.\n * @typedef { function } OnSubmitCallback\n * @param { EnterKeyType } enterKey - Input method Enter key type.\n * @param { SubmitEvent } event - The event submitted.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ndeclare type OnSubmitCallback = (enterKey: EnterKeyType, event: SubmitEvent) => void;\n/**\n * Defines a TextInput callback when onTextSelectionChange.\n *\n * Anonymous Object Rectification.\n * @typedef { function } OnTextSelectionChangeCallback\n * @param { number } selectionStart - The starting position of the selected text, the starting position of the text is 0.\n * @param { number } selectionEnd - The end location of the selected text.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ndeclare type OnTextSelectionChangeCallback = (selectionStart: number, selectionEnd: number) => void;\n/**\n * Defines a TextInput callback when onContentScroll.\n *\n * Anonymous Object Rectification.\n * @typedef { function } OnContentScrollCallback\n * @param { number } totalOffsetX - The text is offset in px on the horizontal axis of the content area.\n * @param { number } totalOffsetY - The text is offset in px on the vertical axis of the content area.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ndeclare type OnContentScrollCallback = (totalOffsetX: number, totalOffsetY: number) => void;\n/**\n * Defines a TextInput callback when onPaste.\n *\n * Anonymous Object Rectification.\n * @typedef { function } OnPasteCallback\n * @param { string } content - The text content of the paste.\n * @param { PasteEvent } event - User-defined paste event.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ndeclare type OnPasteCallback = (content: string, event: PasteEvent) => void;\n/**\n * Defines the TextInput attribute functions.\n *\n * @extends CommonMethod<TextInputAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines the TextInput attribute functions.\n *\n * @extends CommonMethod<TextInputAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the TextInput attribute functions.\n *\n * @extends CommonMethod<TextInputAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class TextInputAttribute extends CommonMethod<TextInputAttribute> {\n    /**\n     * Called when the input type is set.\n     *\n     * @param { InputType } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the input type is set.\n     *\n     * @param { InputType } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the input type is set.\n     *\n     * @param { InputType } value - Default value is InputType.Normal.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    type(value: InputType): TextInputAttribute;\n    /**\n     * Called when the content type is set.\n     *\n     * @param { ContentType } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    contentType(value: ContentType): TextInputAttribute;\n    /**\n     * Called when the color of the placeholder is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the color of the placeholder is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the color of the placeholder is set.\n     *\n     * @param { ResourceColor } value - Default value follows the theme.The default value on wearable devices is '#99ffffff'.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    placeholderColor(value: ResourceColor): TextInputAttribute;\n    /**\n     * Called when the overflow mode of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is only available for the inline input style.\n     * <br>Text is clipped at the transition between words.\n     * <br>To clip text in the middle of a word, set wordBreak to WordBreak.BREAK_ALL.\n     * <br>TextOverflow.None produces the same effect as TextOverflow.Clip.\n     * <br>Default value in non-editing state in the inline input style: TextOverflow.Ellipsis.\n     * <br>Default value in editing state in the inline input style: TextOverflow.Clip.\n     * <br>The TextInput component does not support the TextOverflow.MARQUEE mode.\n     * <br>If TextOverflow.MARQUEE is set, the component automatically switches to TextOverflow.Ellipsis\n     * for the non-editing state in the inline input style and TextOverflow.Clip\n     * for the non-inline input style and the editing state in the inline input style.\n     * </p>\n     *\n     * @param { TextOverflow } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    textOverflow(value: TextOverflow): TextInputAttribute;\n    /**\n     * Specify the indentation of the first line in a text-block.\n     *\n     * @param { Dimension } value - The length of text indent.Default value is 0.\n     * @returns { TextInputAttribute } The attribute of the text.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    textIndent(value: Dimension): TextInputAttribute;\n    /**\n     * Called when the font property of the placeholder is set.\n     *\n     * @param { Font } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font property of the placeholder is set.\n     *\n     * @param { Font } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font property of the placeholder is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The 'HarmonyOS Sans' font and registered custom fonts are supported.\n     * <br>The default value on wearable devices is 18fp.\n     * </p>\n     *\n     * @param { Font } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    placeholderFont(value?: Font): TextInputAttribute;\n    /**\n     * Called when the type of soft keyboard input button is set.\n     *\n     * @param { EnterKeyType } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the type of soft keyboard input button is set.\n     *\n     * @param { EnterKeyType } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the type of soft keyboard input button is set.\n     *\n     * @param { EnterKeyType } value - Default value is EnterKeyType.Done.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    enterKeyType(value: EnterKeyType): TextInputAttribute;\n    /**\n     * Called when the color of the insertion cursor is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the color of the insertion cursor is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the color of the insertion cursor is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Since API version 12, this API can be used to set the text handle color, which is the same as the caret color.\n     * </p>\n     *\n     * @param { ResourceColor } value - Default value is '#007DFF'.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    caretColor(value: ResourceColor): TextInputAttribute;\n    /**\n     * Called when judging whether the text editing change finished.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This API is deprecated since API version 8.\n     * <br>You are advised to use onEditChange instead.\n     * </p>\n     *\n     * @param { function } callback - The value true indicates that the text box is in the editing state.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 8\n     * @useinstead onEditChange\n     */\n    onEditChanged(callback: (isEditing: boolean) => void): TextInputAttribute;\n    /**\n     * Called when judging whether the text editing change finished.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when judging whether the text editing change finished.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when judging whether the text editing change finished.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when judging whether the text editing change finished.\n     *\n     * Anonymous Object Rectification.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The text box is in the editing state when it has the caret placed in it,\n     * and is in the non-editing state otherwise.\n     * <br>It returns true if the input operation is currently in progress.\n     * </p>\n     *\n     * @param { Callback<boolean> } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onEditChange(callback: Callback<boolean>): TextInputAttribute;\n    /**\n     * Called when submitted.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when submitted.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when submitted.\n     *\n     * @param { function } callback - callback of the listened event.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when submitted.\n     *\n     * Anonymous Object Rectification.\n     * @param { OnSubmitCallback } callback - Callback of the listened event.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onSubmit(callback: OnSubmitCallback): TextInputAttribute;\n    /**\n     * Called when the input of the input box changes.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the input of the input box changes.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the input of the input box changes.\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when the input of the input box changes.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>In this callback, if cursor operations are performed, you need to adjust the cursor logic\n     * based on the previewText parameter to ensure it works seamlessly within the preview display scenario.\n     * </p>\n     *\n     * @param { EditableTextOnChangeCallback } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onChange(callback: EditableTextOnChangeCallback): TextInputAttribute;\n    /**\n     * Called when the text selection changes.\n     *\n     * @param { function } callback - callback of the listened event.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the text selection changes.\n     *\n     * @param { function } callback - callback of the listened event.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when the text selection changes.\n     *\n     * Anonymous Object Rectification.\n     * @param { OnTextSelectionChangeCallback } callback - Callback of the listened event.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onTextSelectionChange(callback: OnTextSelectionChangeCallback): TextInputAttribute;\n    /**\n     * Called when the content scrolls.\n     *\n     * @param { function } callback - callback of the listened event.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the content scrolls.\n     *\n     * @param { function } callback - callback of the listened event.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when the content scrolls.\n     *\n     * Anonymous Object Rectification.\n     * @param { OnContentScrollCallback } callback - Callback of the listened event.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onContentScroll(callback: OnContentScrollCallback): TextInputAttribute;\n    /**\n     * Called when the input of maximum text length is set.\n     *\n     * @param { number } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the input of maximum text length is set.\n     *\n     * @param { number } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the input of maximum text length is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If this attribute is not set or is set to an invalid value, the default value is used.\n     * <br>If a decimal number is specified, the integer part is used.\n     * </p>\n     *\n     * @param { number } value - Default value is Infinity, indicating that there is no upper limit on the number of characters that can be entered.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    maxLength(value: number): TextInputAttribute;\n    /**\n     * Called when the font color is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font color is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font color is set.\n     *\n     * @param { ResourceColor } value - The default value on wearable devices is '#dbffffff'.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontColor(value: ResourceColor): TextInputAttribute;\n    /**\n     * Called when the font size is set.\n     *\n     * @param { Length } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font size is set.\n     *\n     * @param { Length } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font size is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If fontSize is of the number type, the unit fp is used.\n     * <br>The default font size is 16 fp.\n     * <br>The value cannot be a percentage.\n     * <br>The default value on wearable devices is 18fp.\n     * </p>\n     *\n     * @param { Length } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontSize(value: Length): TextInputAttribute;\n    /**\n     * Called when the font style of a font is set.\n     *\n     * @param { FontStyle } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font style of a font is set.\n     *\n     * @param { FontStyle } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font style of a font is set.\n     *\n     * @param { FontStyle } value - Default value is FontStyle.Normal.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontStyle(value: FontStyle): TextInputAttribute;\n    /**\n     * Called when the font weight is set.\n     *\n     * @param { number | FontWeight | string } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font weight is set.\n     *\n     * @param { number | FontWeight | string } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font weight is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value is too large, the text may be clipped depending on the font.\n     * <br>For the number type, the value range is [100, 900], at an interval of 100.\n     * <br>The default value is 400.\n     * <br>A larger value indicates a heavier font weight.\n     * <br>For the string type, only strings that represent a number, for example, \"400\",\n     * and the following enumerated values of FontWeight are supported: \"bold\", \"bolder\", \"lighter\", \"regular\", and \"medium\".\n     * </p>\n     *\n     * @param { number | FontWeight | string } value - Default value is FontWeight.Normal.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n    * Called when the font weight is set.\n    *\n    * @param { number | FontWeight | ResourceStr } value\n    * @returns { TextInputAttribute }\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 20\n    */\n    fontWeight(value: number | FontWeight | ResourceStr): TextInputAttribute;\n    /**\n     * Called when the font list of text is set.\n     *\n     * @param { ResourceStr } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font list of text is set.\n     *\n     * @param { ResourceStr } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font list of text is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Default font: 'HarmonyOS Sans'\n     * <br>The 'HarmonyOS Sans' font and registered custom fonts are supported for applications.\n     * <br>Only the 'HarmonyOS Sans' font is supported for widgets.\n     * </p>\n     *\n     * @param { ResourceStr } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontFamily(value: ResourceStr): TextInputAttribute;\n    /**\n     * Called when the inputFilter of text is set.\n     *\n     * @param { ResourceStr } value\n     * @param { function } error\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when the inputFilter of text is set.\n     *\n     * @param { ResourceStr } value\n     * @param { function } error\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the inputFilter of text is set.\n     *\n     * @param { ResourceStr } value\n     * @param { function } error\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when the inputFilter of text is set.\n     *\n     * Anonymous Object Rectification.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Only inputs that comply with the regular expression can be displayed.\n     * <br>Other inputs are filtered out.\n     * <br>The specified regular expression can match single characters, but not strings.\n     * <br>Since API version 11, if inputFilter is set and the entered characters are not null,\n     * the filtering effect attached to the text box type (specified through the type attribute) does not take effect.\n     * </p>\n     *\n     * @param { ResourceStr } value\n     * @param { Callback<string> } [error]\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    inputFilter(value: ResourceStr, error?: Callback<string>): TextInputAttribute;\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when using the Clipboard menu.\n     *\n     * Anonymous Object Rectification.\n     * @param { Callback<string> } callback - Callback used to return the copied text content.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onCopy(callback: Callback<string>): TextInputAttribute;\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when using the Clipboard menu.\n     *\n     * Anonymous Object Rectification.\n     * @param { Callback<string> } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onCut(callback: Callback<string>): TextInputAttribute;\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     *          Executed when a paste operation is performed.\n     *          { string } value - The text content to be pasted.\n     *          { PasteEvent } event - The user-defined paste event.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when using the Clipboard menu.\n     *\n     * Anonymous Object Rectification.\n     * @param { OnPasteCallback } callback - Executed when a paste operation is performed.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onPaste(callback: OnPasteCallback): TextInputAttribute;\n    /**\n     * Called when the copy option is set.\n     *\n     * @param { CopyOptions } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Called when the copy option is set.\n     *\n     * @param { CopyOptions } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the copy option is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If this attribute is set to CopyOptions.None, the text can only be pasted;\n     * all other actions, such as copying, cutting, and sharing, are disabled.\n     * <br>Dragging is not allowed when CopyOptions.None is set.\n     * </p>\n     *\n     * @param { CopyOptions } value - Default value is CopyOptions.LocalDevice.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    copyOption(value: CopyOptions): TextInputAttribute;\n    /**\n     * Called when the password show/hide icon is set.\n     *\n     * @param { boolean } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Called when the password show/hide icon is set.\n     *\n     * @param { boolean } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the password show/hide icon is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This API has effect only when the input type is set to Password,\n     * NEWPASSWORD, or NUMBERPASSWORD mode. It does not work in other modes.\n     * <br>When in password mode, there may be inconsistency between the backend state of the text box\n     * and the frontend application's state management variables.\n     * <br>This can cause issues with the icon at the end of the password text box.\n     * <br>To avoid such issues, use the onSecurityStateChange callback to sync the states.\n     * </p>\n     *\n     * @param { boolean } value - Default value is false.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showPasswordIcon(value: boolean): TextInputAttribute;\n    /**\n     * Called when the text align is set.\n     *\n     * @param { TextAlign } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Called when the text align is set.\n     *\n     * @param { TextAlign } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the text align is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Available options are TextAlign.Start, TextAlign.Center, and TextAlign.End.\n     * <br>To set vertical alignment for the text, use the align attribute.\n     * <br>The align attribute alone does not control the horizontal position of the text.\n     * <br>In other words, Alignment.TopStart, Alignment.Top, and Alignment.TopEnd produce the same effect, top-aligning the text;\n     * Alignment.Start, Alignment.Center, and Alignment.End produce the same effect, centered-aligning the text vertically;\n     * Alignment.BottomStart, Alignment.Bottom, and Alignment.BottomEnd produce the same effect, bottom-aligning the text.\n     * </p>\n     *\n     * @param { TextAlign } value - Default value is TextAlign.Start.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    textAlign(value: TextAlign): TextInputAttribute;\n    /**\n     * Text input style\n     *\n     * @param { TextInputStyle | TextContentStyle } value - Text input style\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Text input style\n     *\n     * @param { TextInputStyle | TextContentStyle } value - Text input style\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Text input style\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The inline input style only supports InputType.Normal.\n     * </p>\n     *\n     * @param { TextInputStyle | TextContentStyle } value - Text input style.Default value is TextInputStyle.Default.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    style(value: TextInputStyle | TextContentStyle): TextInputAttribute;\n    /**\n     * Define the caret style of the text input\n     *\n     * @param { CaretStyle } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Define the caret style of the text input\n     *\n     * @param { CaretStyle } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    caretStyle(value: CaretStyle): TextInputAttribute;\n    /**\n     * Define the text selected background color of the text input.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Define the text selected background color of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the opacity is not set, a 20% opacity will be used.\n     * </p>\n     *\n     * @param { ResourceColor } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    selectedBackgroundColor(value: ResourceColor): TextInputAttribute;\n    /**\n     * Define the caret position of the text input.\n     *\n     * @param { number } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Define the caret position of the text input.\n     *\n     * @param { number } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    caretPosition(value: number): TextInputAttribute;\n    /**\n     * Sets whether request keyboard or not when on focus.\n     *\n     * @param { boolean } value\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets whether request keyboard or not when on focus.\n     * Sets whether to enable the input method when the TextInput component obtains focus in a way other than clicking.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Since API version 10, the TextInput component brings up the keyboard by default when it obtains focus.\n     * </p>\n     *\n     * @param { boolean } value - Default value is true.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    enableKeyboardOnFocus(value: boolean): TextInputAttribute;\n    /**\n     * Define the password icon of the text input.\n     *\n     * @param { PasswordIcon } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define the password icon of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Images in JPG, PNG, BMP, HEIC, and WEBP formats are supported.\n     * <br>By default, the system-provided icon is used.\n     * <br>The icon size is fixed at 24 vp (or 28 vp on wearable devices), regardless of the source image size.\n     * </p>\n     *\n     * @param { PasswordIcon } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    passwordIcon(value: PasswordIcon): TextInputAttribute;\n    /**\n     * Define the show error of the text input.\n     *\n     * @param { string | undefined } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define the show error of the text input.\n     *\n     * @param { string | undefined } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Define the show error of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>On wearable devices, the error message is displayed at a font size of 13 fp and center-aligned.\n     * <br>If the data type is ResourceStr and the input content does not comply with specifications, the error message is displayed.\n     * <br>If the error message does not fit in one line, an ellipsis (…) is displayed to represent clipped text.\n     * <br>If the data type is undefined, no error message is displayed.\n     * <br>By default, no error message is displayed.\n     * </p>\n     *\n     * @param { ResourceStr | undefined } [value]\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    showError(value?: ResourceStr | undefined): TextInputAttribute;\n    /**\n     * Define the show unit of the text input.\n     *\n     * @param { CustomBuilder } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define the show unit of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute effective only when showUnderline is set to true.\n     * </p>\n     *\n     * @param { CustomBuilder } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showUnit(value: CustomBuilder): TextInputAttribute;\n    /**\n     * Define the show underline of the text input.\n     *\n     * @param { boolean } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define the show underline of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>By default, the underline comes in the color of '#33182431', thickness of 1 px, and text box size of 48 vp.\n     * <br>The underline is only available for the InputType.Normal type.\n     * </p>\n     *\n     * @param { boolean } value - Default value is false.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showUnderline(value: boolean): TextInputAttribute;\n    /**\n     * Define the underline color of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The underline color changes with the underline mode.\n     * <br>If the underline color is only set for the normal state, you can directly enter a value of the ResourceColor type.\n     * <br>If the value specified is undefined, null, or invalid, all underlines are restored to the default value.\n     * <br>Default value: underline color configured for the theme, which is #33182431 by default.\n     * </p>\n     *\n     * @param { ResourceColor | UnderlineColor | undefined } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    underlineColor(value: ResourceColor | UnderlineColor | undefined): TextInputAttribute;\n    /**\n     * Controls whether the selection menu pops up.\n     *\n     * @param { boolean } value\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Controls whether the selection menu pops up.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br><em>true</em>:\n     * <br>The system text selection menu does not appear under the following circumstances:\n     * clicking the text box cursor, long-pressing the text box, double-tapping the text box,\n     * triple-tapping the text box, or right-clicking the text box.\n     * <br><em>false</em>:\n     * <br>The system text selection menu appears under the following circumstances:\n     * clicking the text box cursor, long-pressing the text box, double-tapping the text box,\n     * triple-tapping the text box, or right-clicking the text box.\n     * </p>\n     *\n     * @param { boolean } value - Default value is false.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    selectionMenuHidden(value: boolean): TextInputAttribute;\n    /**\n     * Define bar state of the text input.\n     *\n     * @param { BarState } value\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define bar state of the text input.\n     *\n     * @param { BarState } value - Default value is BarState.Auto.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    barState(value: BarState): TextInputAttribute;\n    /**\n     * Define max lines of the text input.\n     *\n     * @param { number } value\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define max lines of the text input.\n     * Value range: (0, +∞)\n     *\n     * @param { number } value - Default value is 3.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    maxLines(value: number): TextInputAttribute;\n    /**\n     * Set the text inline style word break type.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is effective for the inline input style,\n     * but does not apply to the placeholder text.\n     * <br>The component does not support the clip attribute.\n     * <br>Therefore, setting this attribute does not affect text clipping.\n     * </p>\n     *\n     * @param { WordBreak } value - The word break type.Default value is WordBreak.BREAK_WORD.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    wordBreak(value: WordBreak): TextInputAttribute;\n    /**\n     * Set the text line break strategy type.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute takes effect when wordBreak is not set to breakAll.\n     * <br>Hyphens are not supported.\n     * <br>This attribute does not take effect for the non-inline input style.\n     * </p>\n     *\n     * @param { LineBreakStrategy } strategy - The text line break strategy type.Default value is LineBreakStrategy.GREEDY.\n     * @returns { TextInputAttribute } The attribute of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    lineBreakStrategy(strategy: LineBreakStrategy): TextInputAttribute;\n    /**\n     * Define custom keyboard of the text input.\n     *\n     * @param { CustomBuilder } value\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define custom keyboard of the text input.\n     *\n     * @param { CustomBuilder } value\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Define custom keyboard of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>When a custom keyboard is set, activating the text box opens the specified custom component,\n     * instead of the system input method.\n     * <br>The custom keyboard's height can be set through the height attribute of the custom component's root node,\n     * and its width is fixed at the default value.\n     * <br>The custom keyboard is presented by overlaying the original screen,\n     * which is not compressed or lifted if avoid mode is not enabled or avoidance is not needed for the text box.\n     * <br>The custom keyboard cannot obtain the focus, but it blocks gesture events.\n     * <br>By default, the custom keyboard is closed when the input component loses the focus.\n     * <br>You can also use the TextInputController.stopEditing API to close the keyboard.\n     * <br>When a custom keyboard is set, the text box does not support camera input, even when the device supports.\n     * <br>When setting a custom keyboard, you can bind the onKeyPrelme event to prevent input from the physical keyboard.\n     * </p>\n     *\n     * @param { CustomBuilder } value - Set up a custom keyboard of TextInput\n     * @param { KeyboardOptions } [options] - Indicates the custom keyboard options of TextInput\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextInputAttribute;\n    /**\n     * Show the counter when the number of characters entered exceeds the threshold through InputCounterOptions.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>options can be set only when value is set to true, in which case a character counter is displayed below the text box.\n     * <br>This attribute must be used together with maxLength.\n     * <br>The character counter is displayed in this format: Number of characters entered/Character limit.\n     * <br>It is visible when the number of characters entered is greater than the character limit multiplied by the threshold percentage value.\n     * <br>If options is not set, the text box border and character counter subscript turn red\n     * when the number of characters entered exceeds the limit.\n     * <br>If value is set to true and options is set, the text box border and character counter subscript turn red\n     * and the text box shakes when the number of characters entered reaches the limit,\n     * provided that the value of thresholdPercentage is valid.\n     * <br>If highlightBorder is set to false, the text box border does not turn red.\n     * <br>By default, highlightBorder is set to true.\n     * <br>The character counter is not displayed for text boxes in inline or password input style.\n     * </p>\n     *\n     * @param { boolean } value - Set showcounter of the text input.\n     * @param { InputCounterOptions } options - Set the percentage of counter.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showCounter(value: boolean, options?: InputCounterOptions): TextInputAttribute;\n    /**\n     * Set the cancel button style\n     *\n     * @param { object } value - indicates the style of the cancel button.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Set the cancel button style\n     *\n     * @param { object } value - indicates the style of the cancel button.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Set the cancel button style.\n     *\n     * Anonymous Object Rectification.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is not available for the inline input style.\n     * <br>The default value is 28fp on wearable devices.\n     * </p>\n     *\n     * @param { CancelButtonOptions } options - Indicates the style of the cancel button.Default value is { style: CancelButtonStyle.INPUT }.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    cancelButton(options: CancelButtonOptions): TextInputAttribute;\n    /**\n     * Set the cancel button style\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is not available for the inline input style.\n     * </p>\n     *\n     * @param { CancelButtonSymbolOptions } symbolOptions - indicates the style of the cancel button.Default value is { style: CancelButtonStyle.INPUT }.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    cancelButton(symbolOptions: CancelButtonSymbolOptions): TextInputAttribute;\n    /**\n     * Sets selection when on focus.\n     *\n     * @param { boolean } value - Sets selection or not.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Sets selection when on focus.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is not available for the inline input style.\n     * </p>\n     *\n     * @param { boolean } value - Sets selection or not.Default value is false.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    selectAll(value: boolean): TextInputAttribute;\n    /**\n     * Called when the minimum font size of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>For the string type, numeric string values with optional units,\n     * for example, \"10\" or \"10fp\", are supported.\n     * <br>For the setting to take effect, this attribute must be used together with maxFontSize\n     * and maxLines (when the component is in editing state in the inline input style), or layout constraint settings.\n     * <br>When the adaptive font size is used, the fontSize settings do not take effect.\n     * </p>\n     *\n     * @param { number | string | Resource } value -  The unit is fp.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    minFontSize(value: number | string | Resource): TextInputAttribute;\n    /**\n     * Called when the maximum font size of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>For the string type, numeric string values with optional units,\n     * for example, \"10\" or \"10fp\", are supported.\n     * <br>For the setting to take effect, this attribute must be used together with minFontSize\n     * and maxLines (when the component is in editing state in the inline input style), or layout constraint settings.\n     * <br>When the adaptive font size is used, the fontSize settings do not take effect.\n     * </p>\n     *\n     * @param { number | string | Resource } value -  The unit is fp.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    maxFontSize(value: number | string | Resource): TextInputAttribute;\n    /**\n     * Called when the minimum font scale of the font is set.\n     *\n     * @param { Optional<number | Resource> } scale\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    minFontScale(scale: Optional<number | Resource>): TextInputAttribute;\n    /**\n     * Called when the maximum font scale of the font is set.\n     *\n     * @param { Optional<number | Resource> } scale\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    maxFontScale(scale: Optional<number | Resource>): TextInputAttribute;\n    /**\n     * Called when the height adaptive policy is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <ul>\n     * <li>When this attribute is set to TextHeightAdaptivePolicy.MAX_LINES_FIRST,\n     * the maxLines attribute takes precedence for adjusting the text height.\n     * <br>If the maxLines setting results in a layout beyond the layout constraints,\n     * the text will shrink to a font size between minFontSize and maxFontSize to allow for more content to be shown.</li>\n     * <li>If this attribute is set to TextHeightAdaptivePolicy.MIN_FONT_SIZE_FIRST,\n     * the minFontSize attribute takes precedence for adjusting the text height.\n     * <br>If the text can fit in one line with the minFontSize setting,\n     * the text will enlarge to the largest possible font size between minFontSize and maxFontSize.</li>\n     * <li>TextHeightAdaptivePolicy.LAYOUT_CONSTRAINT_FIRST produces the same effect as TextHeightAdaptivePolicy.MIN_FONT_SIZE_FIRST.</li>\n     * </ul>\n     * <br>When the component is in the non-inline input style, the three values of TextHeightAdaptivePolicy have the same effect,\n     * that is, the text will shrink to a font size between minFontSize and maxFontSize to allow for more content to be shown.\n     * <br>If the text box is in inline input style,\n     * the font size in the editing state is different from that in the non-editing state.\n     * </p>\n     *\n     * @param { TextHeightAdaptivePolicy } value - The height adaptive policy.Default value is TextHeightAdaptivePolicy.MAX_LINES_FIRST.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextInputAttribute;\n    /**\n     * Sets whether enable auto fill or not.\n     *\n     * @param { boolean } value - Indicates the flag whether autofill is enabled.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Sets whether enable auto fill or not.\n     *\n     * @param { boolean } value - Indicates the flag whether autofill is enabled.Default value is rue.True: enable, false: disable.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    enableAutoFill(value: boolean): TextInputAttribute;\n    /**\n     * Called when the text decoration of the text is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute does not take effect for the password input mode.\n     * </p>\n     *\n     * @param { TextDecorationOptions } value - Default value is { type: TextDecorationType.None, color: Color.Black, style: TextDecorationStyle.SOLID }.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    decoration(value: TextDecorationOptions): TextInputAttribute;\n    /**\n     * Called when the distance between text fonts is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value specified is a percentage or 0, the default value is used.\n     * <br>For the string type, numeric string values with optional units,\n     * for example, \"10\" or \"10fp\", are supported.\n     * <br>If the value specified is a negative value, the text is compressed.\n     * <br>A negative value too small may result in the text being compressed to 0\n     * and no content being displayed.\n     * </p>\n     *\n     * @param { number | string | Resource } value -  The unit is fp.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    letterSpacing(value: number | string | Resource): TextInputAttribute;\n    /**\n     * Called when the line height of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value is less than or equal to 0, the line height is not limited and the font size is adaptive.\n     * <br>If the value is of the number type, the unit fp is used.\n     * <br>For the string type, numeric string values with optional units, for example, \"10\" or \"10fp\", are supported.\n     * </p>\n     *\n     * @param { number | string | Resource } value\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    lineHeight(value: number | string | Resource): TextInputAttribute;\n    /**\n     * Define the password rules of the text input.\n     *\n     * @param { string } value - Indicates the password rules.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Define the password rules of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>When autofill is used, these rules are transparently transmitted to Password Vault for generating a new password.\n     * </p>\n     *\n     * @param { string } value - Indicates the password rules.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    passwordRules(value: string): TextInputAttribute;\n    /**\n     * Set font feature.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is not available when type is set to an enum value that indicates the password input mode,\n     * such as Password, NEW_PASSWORD, or NUMBER_PASSWORD.\n     * </p>\n     *\n     * @param { string } value - The fontFeature.\n     * normal | <feature-tag-value>,\n     * where <feature-tag-value> = <string> [ <integer> | on | off ], like: \"ss01\" 0\n     * the values of <feature-tag-value> reference to doc of TextInput component\n     * number of <feature-tag-value> can be single or multiple, and separated by comma ','.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    fontFeature(value: string): TextInputAttribute;\n    /**\n     * Define the password visible mode of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This API has effect only when the input type is set to Password, NEWPASSWORD, or NUMBERPASSWORD mode.\n     * <br>It does not work in other modes.\n     * <br>When in password mode, there may be inconsistency between the backend state of the text box\n     * and the frontend application's state management variables.\n     * <br>This can cause issues with the icon at the end of the password text box.\n     * <br>To avoid such issues, use the onSecurityStateChange callback to sync the states.\n     * </p>\n     *\n     * @param { boolean } visible - Indicates the password visible mode. Default value is false.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    showPassword(visible: boolean): TextInputAttribute;\n    /**\n     * Called when changing the password visible mode of the text input.\n     *\n     * @param { Callback<boolean> } callback - callback of the password visible mode change event.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onSecurityStateChange(callback: Callback<boolean>): TextInputAttribute;\n    /**\n     * Get text value information when about to input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It returns true if the text is inserted; returns false otherwise.\n     * <br>This callback is not triggered for pre-edit or candidate word operations.\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<InsertValue, boolean> } callback - The triggered function when text content is about to insert.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onWillInsert(callback: Callback<InsertValue, boolean>): TextInputAttribute;\n    /**\n     * Get text value information when completed input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<InsertValue> } callback - The triggered function when text content has been inserted.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onDidInsert(callback: Callback<InsertValue>): TextInputAttribute;\n    /**\n     * Get text value information when about to delete.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It returns true if the text is deleted; returns false otherwise.\n     * <br>This callback is not called for text preview.\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<DeleteValue, boolean> } callback - The triggered function when text content is about to delete.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onWillDelete(callback: Callback<DeleteValue, boolean>): TextInputAttribute;\n    /**\n     * Get text value information when the deletion has been completed\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<DeleteValue> } callback - The triggered function when text content has been deleted.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onDidDelete(callback: Callback<DeleteValue>): TextInputAttribute;\n    /**\n     * Called before the text input component attach the InputMethod.\n     *\n     * @param { Callback<IMEClient> } callback - The triggered function before attach the InputMethod.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    onWillAttachIME(callback: Callback<IMEClient>): TextInputAttribute;\n    /**\n     * Set the custom text menu.\n     * Sets the extended options of the custom context menu on selection,\n     * including the text content, icon, and callback.\n     *\n     * @param { EditMenuOptions } editMenu - Customize text menu options.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    editMenuOptions(editMenu: EditMenuOptions): TextInputAttribute;\n    /**\n     * Define the preview text mode of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Preview text is in a temporary state and does not support text interception.\n     * <br>As such, it does not trigger onWillInsert, onDidInsert, onWillDelete, or onDidDelete callbacks.\n     * </p>\n     *\n     * @param { boolean } enable - Indicates the preview text mode.Default value is true.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    enablePreviewText(enable: boolean): TextInputAttribute;\n    /**\n     * Enable or disable haptic feedback.\n     *\n     * @param { boolean } isEnabled - Default value is true, set false to disable haptic feedback.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    enableHapticFeedback(isEnabled: boolean): TextInputAttribute;\n    /**\n     * Set text mode of automatic case mode switching.\n     *\n     * @param { AutoCapitalizationMode } mode - Automatic case mode switching.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    autoCapitalizationMode(mode: AutoCapitalizationMode): TextInputAttribute;\n    /**\n     * Set the text with half leading.\n     *\n     * @param { Optional<boolean> } halfLeading\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    halfLeading(halfLeading: Optional<boolean>): TextInputAttribute;\n    /**\n     * Set the ellipsis mode.\n     *\n     * @param { Optional<EllipsisMode> } mode - The ellipsis mode.\n     * @returns { TextInputAttribute } The attribute of TextInput.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    ellipsisMode(mode: Optional<EllipsisMode>): TextInputAttribute;\n    /**\n     * Set whether stop backPressed callback event or not.\n     *\n     * @param { Optional<boolean> } isStopped - Default value is true, set false to trigger the latest callback event.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 15\n     */\n    stopBackPress(isStopped: Optional<boolean>): TextInputAttribute;\n    /**\n     * Get text value information when about to change.\n     *\n     * @param { Callback<EditableTextChangeValue, boolean> } callback - The triggered function when text content is about to change.\n     * @returns { TextInputAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    onWillChange(callback: Callback<EditableTextChangeValue, boolean>): TextInputAttribute;\n    /**\n     * Set the keyboard appearance.\n     *\n     * @param { Optional<KeyboardAppearance> } appearance - Default value is KeyboardAppearance.NONE_IMMERSIVE\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 15\n  \n     */\n    keyboardAppearance(appearance: Optional<KeyboardAppearance>): TextInputAttribute;\n    /**\n     * Set the stroke width.\n     *\n     * @param { Optional<LengthMetrics> } width - indicates the stroke width.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    strokeWidth(width: Optional<LengthMetrics>): TextInputAttribute;\n    /**\n     * Set the stroke color.\n     *\n     * @param { Optional<ResourceColor> } color - indicates the stroke color.\n     * @returns { TextInputAttribute } returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    strokeColor(color: Optional<ResourceColor>): TextInputAttribute;\n    /**\n     * Sets whether enable auto fill animation effect or not.\n     *\n     * @param { Optional<boolean> } enabled - Indicates the flag whether auto fill animation effect is enabled.\n     * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 20\n     */\n    enableAutoFillAnimation(enabled: Optional<boolean>): TextInputAttribute;\n}\n/**\n * Defines TextInput Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines TextInput Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines TextInput Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare const TextInput: TextInputInterface;\n/**\n * Defines TextInput Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines TextInput Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines TextInput Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare const TextInputInstance: TextInputAttribute;\n",
}
export default FILE;